Menu

#19 case insensitive http headers

open
Joe Drew
Patches (14)
5
2016-05-14
2012-09-20
Anonymous
No

RFC 2616 specifies that HTTP headers are case-insensitive. Fix a bunch of places where ptrncmp() should be strncasecmp()

Discussion

  • Antonio Fco. Bennasar Obrador

    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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.