How to debug not being able to read a website in Firefox, Chromium [closed]
Closed 5 days ago.
PHP – Internal APIs/Libraries – What makes sense?
I’ve been having a discussion lately with some colleagues about the best way to approach a new project, and thought it’d be interesting to get some external thoughts thrown into the mix.
HTTP Response Header for a unique Request ID for REST service
For our REST service I want to send back a unique request ID with every response; useful for debugging internal projects but also for offering support to any third parties who might use the service in the future.
How I identify true error?
I am writing a program to scrap some data from the web. The pages are sequential ( 1,2,3 … ), but I have no idea when will it stops. I combine a prefix and a integer to make a link for the python urllib to parse on it. For example : ‘http://some.domain.com/page’ + ‘1’ + ‘.htm’.
Should I implement slugs with my already fairly long URLs? [closed]
Closed 12 years ago.
Should HTTP Verbs Be Used Semantically?
If I’m making a web application which integrates with a server-side backend, would it be considered best practice to use HTTP methods semantically? That is, for example, if I’m fetching data (e.g., to populate a menu, etc.), I would use GET, but to update data (e.g., save a record), I would use POST. (I realise there are other methods that may be even more appropriate, but we need to consider browser support.)
REST API rule about tunneling
Just read this in the REST API Rulebook: GET and POST must not be used to tunnel other request methods.
Methodology behind fetching large XML data sets in pieces
I am working on an HTTP Server in Delphi which simply sends back a custom XML dataset. I am not following any type of standard formatting, such as SOAP. I have the system working seamlessly, except one small flaw: When I have a very large dataset to send back to the client, it might take up to 2 minutes for all the data to be transferred. The HTTP Server I’m building is essentially an XML Data based API around a database, implementing the common business rule – therefore, the requests are specific to the data behind the system.
What reasons are there to reduce the max-age of a logo to just 8 days?
Most websites set max-age=31536000
(1 year) on the Cache-control
headers of static assets such as logo images. Examples:
Strategy for clients to retrieve real-time log from HTTP server
I have an HTTP Server Service application which has its own logging mechanism. It’s written in Delphi. I would like to provide a way for multiple clients to connect to this service and get a real-time update of the log. The log in the service moves rather fast, there’s a lot of things to log. There may be up to 50 messages within 1 second at times. The existing log which is already implemented is not saved, it’s only kept in the memory of the server service – where I will need to distribute it to any client which needs it. Once all clients have a log message, it should be deleted.