Ticket UUID: | 3391977 | |||
Title: | cant pass a charset=utf-8 with the type text/xml | |||
Type: | Bug | Version: | obsolete: 8.5.10 | |
Submitter: | mzi | Created on: | 2011-08-15 14:26:33 | |
Subsystem: | 29. http Package | Assigned To: | dkf | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2011-09-16 15:35:34 | |
Resolution: | Fixed | Closed By: | dkf | |
Closed on: | 2011-09-16 08:35:34 | |||
Description: |
On the function http:geturl I cant pass the charset=utf-8 with the type "text/xml" without having the Content-Type twice in the http. with the parameter: -headers [list "Content-Type" "text/xml; charset=utf-8"] and -type "text/xml" it makes: Content-Type: text/xml; charset=utf-8 Content-Type: text/xml with the parameter: -headers [list "Content-Type" "text/xml; charset=utf-8"]] it makes: Content-Type: text/xml; charset=utf-8 Content-Type: application/x-www-form-urlencoded I think if in the -headers a Content-Type is defined then the -type does not write a Content-Type or a parameter of charset must produce a Content-Type with charset. | |||
User Comments: |
dkf added on 2011-09-16 15:35:34:
allow_comments - 1 mzi added on 2011-08-31 19:43:03: Yes this patch does that what I want. Thank you. Donal dkf added on 2011-08-31 19:26:34: Does the patch I attached represent the change that you want done? (Didn't produce any test cases yet.) dkf added on 2011-08-31 19:25:40: File Added - 422439: 3391977.patch mzi added on 2011-08-29 16:07:46: I have now attached a bugfixed version of the http file. mzi added on 2011-08-29 16:06:58: File Added - 422288: http-2.7.5.tm mzi added on 2011-08-15 21:26:35: File Added - 421175: testenc.tcl |