Why shouldn’t a GET request change data on the server?
All over the internet, I see the following advice:
Is a predefined key enough security when performing HTTP requests between two secure servers?
I have an AdWords script that regularly transfers sensitive data to my server using a POST HTTP request. For security I have a predefined 32 character randomized string that is verified by my server before it accepts the data. Is this secure?
Why can’t the PHP engine handle HTTP communication?
The PHP engine interprets the PHP code and is perfectly capable of working with sockets, forming HTTP packets, etc. Why then do we need a separate Apache server, when the http serving duties could be embedded into the php application along with the page creation code?
How to interact with C++ API through http commands?
I have a C++ API, I want to send commands through http to run any c++ method from this API. I’m using libmicrohttpd.
Is path in Set-Cookie URL encoded?
I’m writing some code that sets cookies and I’m wondering about the exact semantics of the Set-Cookie
header. Imagine the following HTTP header line:
Are there any problems with implementing custom HTTP methods?
We have a URL in the following format
What Http verb should the route to log out of your web app be? [closed]
Closed 9 years ago.
Python web application frontend for equipment diagnostics and interaction
My goal is to have a Python application that runs a web server which hosts the user interface, and based on interactions from a user in their browser, long running tasks get kicked off and through some process, feed status information back to the web server and subsequently back to the browser.
The Request/Response Cycle
When User A decides he want to pay a visit to http://example.com/ it all begins with a Request. A short moment later he is given a Response. In this cycle Request-Response a lot is going on, in different frameworks it’s decoupled in different components among them Routing, Dispatching, etc.
Better server to client communication mechanism over HTTP
I have a single server with several clients. I want to push messages to a particular client at a given time. Clients should not polling to the server. what are good patterns and practices to solve this problem?