RFC 2616 specifies that HTTP headers are case-insensitive. Fix a bunch of places where ptrncmp() should be strncasecmp()
fixes strncmp to strncasecmp to align with HTTP spec
You seem to have CSS turned off.
Please don't fill out this field.
The patch works for me: I have a server that sends:
HTTP header: >Content-type: audio/mpeg<
"t" of Type is lowercase
Before the patch, it did not work, after it worked.
Thank you Anonymous
Log in to post a comment.