Python Forum
HTTP Headers as constants in stdlib
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP Headers as constants in stdlib
#6
Hm! That is a common problem with all networking tools and libraries. They just give you an interpretation of all the packets received and nothing else. For example, the ping command or the Python requests library. You have to deal with the packets themselves.

I would suggest the Scapy module. You have to do a handshake first and after that the HTTP request. But I can't tell you how to do that. I am not familiar with the TCP or any other networking protocol. However, using that library you could create any tool you need. The benefits? You get all the data of any packet.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
HTTP Headers as constants in stdlib - by kirans - Jan-31-2019, 06:12 AM
RE: HTTP Headers as constants in stdlib - by kirans - Jan-31-2019, 10:03 AM
RE: HTTP Headers as constants in stdlib - by nilamo - Jan-31-2019, 04:30 PM
RE: HTTP Headers as constants in stdlib - by wavic - Jan-31-2019, 05:37 PM
RE: HTTP Headers as constants in stdlib - by wavic - Feb-02-2019, 10:52 AM
RE: HTTP Headers as constants in stdlib - by kirans - Feb-03-2019, 03:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Extracting Headers from Many Pages Quickly OstermanA 2 2,031 Oct-01-2019, 08:01 AM
Last Post: OstermanA

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020