Menu

#49 Some servers dont't accept headers send by PHPCrawl

closed-fixed
nobody
None
5
2019-04-26
2013-06-04
Uwe Hunfeld
No

Some servers dont't accept http-headers send by phpcrawl.
(Example: pastebin.com)

See this forum post:
https://sourceforge.net/p/phpcrawl/discussion/307696/thread/2beb00b6/

NOTE:
When testing on pastebin.com it's a little confusing:
The server doen't accept headers from phpcrawl and BLOCKS the client-ip after a "bad-header" was send for a time.
During this time no requests are possible (event with other clients like webbrowsers), the connection will get refused!

Discussion

  • Uwe Hunfeld

    Uwe Hunfeld - 2013-06-04

    Update:

    The server pastebin.com didn't accept headers from phpcrawl because of HTTP 1.0 protocol and uppercase "HOST"-word in the header.

    Switched to HTTP 1.1 and changed "HOST" to "Host" in the request-header. Now everything works fine.

    See the attached and fixed PHPCrawlerHTTPRequest.class.php file.

    Weill be officialy fixed in the next release.

     

    Last edit: Uwe Hunfeld 2013-06-04
    • Anonymous

      Anonymous - 2019-04-26
      Post awaiting moderation.
  • Uwe Hunfeld

    Uwe Hunfeld - 2014-01-18
    • status: open --> closed-fixed
     
  • Uwe Hunfeld

    Uwe Hunfeld - 2014-01-18

    Fixed since version 0.82

     
  • Anonymous

    Anonymous - 2014-10-15

    It's works very well. Thanks

     

Anonymous
Anonymous

Add attachments
Cancel





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.