Fix typo in crash report sender — it works now.
This commit is contained in:
parent
d6501af4fe
commit
4e7f3e15a4
|
@ -99,7 +99,7 @@ struct CrashReporter {
|
||||||
|
|
||||||
let boundary = "0xKhTmLbOuNdArY"
|
let boundary = "0xKhTmLbOuNdArY"
|
||||||
|
|
||||||
let contentType = "multipart/form-data; boundary=%@\(boundary)"
|
let contentType = "multipart/form-data; boundary=\(boundary)"
|
||||||
request.setValue(contentType, forHTTPHeaderField:HTTPRequestHeader.contentType)
|
request.setValue(contentType, forHTTPHeaderField:HTTPRequestHeader.contentType)
|
||||||
|
|
||||||
let formString = "--\(boundary)\r\nContent-Disposition: form-data; name=\"crashlog\"\r\n\r\n\(crashLogText)\r\n--\(boundary)--\r\n"
|
let formString = "--\(boundary)\r\nContent-Disposition: form-data; name=\"crashlog\"\r\n\r\n\(crashLogText)\r\n--\(boundary)--\r\n"
|
||||||
|
|
Loading…
Reference in New Issue