RE: PHP script not executing with empty POST when using chunked encoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hmm, so the problem is sending "content-length: 0" with "transfer-encoding" set to chunked?

I just find it odd that sending it through telnet works fine, this should be the exact same as the code the ZyXEL is sending.

-----Original Message-----
From: Jens-U. Mozdzen [mailto:jmozdzen@xxxxxx] 
Sent: 04 March 2013 12:27
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  PHP script not executing with empty POST when using chunked encoding

Hi Ashley,

Zitat von Ashly Pridmore <Ashly.Pridmore@xxxxxxxxxxxxxxxxx>:
> [...]
> The NBG on the other hand, sends the following:
>
> POST /{URL} HTTP/1.1
> HOST: {Host}
> User-Agent: workssys.com
> Transfer-Encoding: chunked
> Content-Length: 0
> Cookie2: $Version="1"
> Cookie: PHPSESSID=l47r1bf2erk870i8n3m9sm4v65\r\n
> \r\n
> 0\r\n
> \r\n

What might be confusing the server is that the content actually isn't empty, although Content-Length is set to 0.

Regards,
Jens


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux