al03 / cocoa-rest-client

Automatically exported from code.google.com/p/cocoa-rest-client
Other
0 stars 0 forks source link

Content-Type split problem and features request #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If the API backend doesn't add a space after the ";" the pretty-printing fails, 
why not splitting on ";" instead of "; " ?

Do you plans to add a tab to show all headers which have been sent in text 
format ? (Like "Response Headers")
Why do not make the shortcut to save a request overwrite instead of saving a 
new request if the name is the same ?

Thanks.

Original issue reported on code.google.com by markocpc on 20 Nov 2011 at 5:55

GoogleCodeExporter commented 8 years ago
Can you include the headers of the response that cause pretty printing to break 
for you? I'd like to make sure I'm testing against the right thing. Thanks!

Original comment by mike.mat...@gmail.com on 21 Nov 2011 at 4:04

GoogleCodeExporter commented 8 years ago
Server: WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
Content-Type: application/json;charset=utf-8      <= problem here, this is not 
"; "
Date: Tue, 22 Nov 2011 20:07:53 GMT
X-Frame-Options: sameorigin
X-Xss-Protection: 1; mode=block
Content-Length: 22
Connection: Keep-Alive

Original comment by markocpc on 22 Nov 2011 at 8:46

GoogleCodeExporter commented 8 years ago
Good catch on this one. This should be an easy fix for the next release. 

For the two feature requests, these are good suggestions, I'll play around with 
a few ideas. 

Original comment by mike.mat...@gmail.com on 24 Nov 2011 at 2:25

GoogleCodeExporter commented 8 years ago
Content-Type bug is fixed in version 1.2.4. 

I'm breaking out the two suggestions into separate issues which I will get to 
soon. Thanks!

Original comment by mike.mat...@gmail.com on 8 Dec 2011 at 3:00