Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ASP

Content-type: application/x-www-form-urlencoded; charset=utf-8



ModPerl asp RSS feed   Index | Next | Previous | View Threaded

momex2000 at hotmail

Jun 22, 2006, 10:26 PM

Post #1 of 1 (13898 views)
Content-type: application/x-www-form-urlencoded; charset=utf-8

Hi, I'm using Apache::ASP V2.59 with a wireless phone that sends
'application/x-www-form-urlencoded; charset=utf-8' for the content-type
header during a form post. This appears to be compliant with current HTTP
standards but Apache::ASP doesn't accept it. In sub new {}, line 115 of
Apache::ASP::Request.pm, I changed the following:

if($headers_in->get('Content-Type') eq 'application/x-www-form-urlencoded')


if($headers_in->get('Content-Type') =~
m|^application/x-www-form-urlencoded|) {

which is consistent with the test for 'multipart/form-data' earlier in the
same function, and that fixes the issue. Would it be possible to get that
change put into Apache::ASP? Thx!


To unsubscribe, e-mail: asp-unsubscribe [at] perl
For additional commands, e-mail: asp-help [at] perl

ModPerl asp RSS feed   Index | Next | Previous | View Threaded

Interested in having your list archived? Contact Gossamer Threads
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.