HTTPHeaders Added to Downloaded File - CocoaHTTPServer???
Posted
by Don
on Stack Overflow
See other posts from Stack Overflow
or by Don
Published on 2010-03-23T15:30:57Z
Indexed on
2010/03/23
15:33 UTC
Read the original article
Hit count: 621
iphone-sdk
|cocoahttpserver
In an iPhone app where I use cocoahttpserver and take a sqlite database file from the iPhone and download it with a browser to my PC, when I look at the downloaded file using TextEdit, I see the text (below) at the end of the file. This text has apparently no effect on use of the database file, but I would prefer to not add stuff to the database file at all.
Any ideas where this header info is coming from in cocoahttpserver and how to stop it? Thanks.
------WebKitFormBoundary3RAcT2SVGhGPnoA6
Content-Disposition: form-data; name="submit.x"
26
------WebKitFormBoundary3RAcT2SVGhGPnoA6
Content-Disposition: form-data; name="submit.y"
12
------WebKitFormBoundary001Quvx6Efgaf23y
Content-Disposition: form-data; name="submit.x"
30
------WebKitFormBoundary001Quvx6Efgaf23y
Content-Disposition: form-data; name="submit.y"
12
------WebKitFormBoundaryfHyUUs1p31kBJ3gA
Content-Disposition: form-data; name="submit.x"
52
------WebKitFormBoundaryfHyUUs1p31kBJ3gA
Content-Disposition: form-data; name="submit.y"
9
© Stack Overflow or respective owner