Skip to content Skip to sidebar Skip to footer
Showing posts with the label Http Headers

How To Close The Connection

I'm migrating a simple toolset from python 2.7 to 3.5 and one of the tools is a simple web serv… Read more How To Close The Connection

Keeping The Websocket Connection Alive

I'm doing a study on WebSocket protocol and trying to implement a simple ECHO service for now w… Read more Keeping The Websocket Connection Alive

Browser Detection Python / Mod_python?

I want to keep some statistics about users and locations in a database. For instance, I would like … Read more Browser Detection Python / Mod_python?

Http Authentication In Python

Whats is the python urllib equivallent of curl -u username:password status='abcd' http://e… Read more Http Authentication In Python

How To Know If My Custom Http Headers Are Being Passed?

So, I have been struggling with passing custom HTTP header for some time now. I am creating a scrip… Read more How To Know If My Custom Http Headers Are Being Passed?

How To Set Http Headers With Different Content Type

I have a webpage dynamically created via Python. Its purpose is to provide images, so the first lin… Read more How To Set Http Headers With Different Content Type