HyperText Transfer Protocol

learn more… | top users | synonyms

1
vote
0answers
33 views

Web revisioning and the Accept-Datetime header

I have been in the process of generating documentation for an upcoming project. One of the features of the data available in this project is that it will be revisioned (or at least large parts of it ...
4
votes
1answer
340 views

How can I send audio input as chunked HTTP?

I am trying to create an interface with an external server, and don't know where to start. I would need to take audio as input to my computer, and send it to the remote server as a chunked HTTP ...
2
votes
2answers
118 views

RESTful URI's, Creating a new noun/uri or add a queryparameter

I have a Person class with a one to many relationship to Employment. A Person in the CRM can have multiple Employments (historic data). My current REST URI for this class looks like this: ...
2
votes
1answer
310 views

Are there any problems with implementing custom HTTP methods?

We have a URL in the following format /instance/{instanceType}/{instanceId} You can call it with the standard HTTP methods: POST, GET, DELETE, PUT. However, there are a few more actions that we ...
0
votes
2answers
90 views

Queuing rpc calls

I'm designing a system which listens to JSON RPC calls from clients, piles them up inside a list, and if the list gets full it should store them in a DB and keep receiving calls. My original plan is ...
1
vote
3answers
183 views

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: Set-Cookie: name=value; Path=/%20 For with path ...
-8
votes
0answers
29 views

Protocol Violation - Verb does not allow content type [closed]

Cross post from stackoverflow, where it has not been answered.... http://stackoverflow.com/questions/15238733/protocol-violation-verb-does-not-allow-content-type
-1
votes
1answer
115 views

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. What steps should I follow to do such a work?
1
vote
4answers
261 views

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 ...
3
votes
3answers
76 views

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 ...
58
votes
5answers
2k views

Why shouldn't a GET request change data on the server?

All over the internet, I see the following advice: A GET should never change data on the server- use a POST request for that What is the basis for this idea? If I make a php service which ...
0
votes
3answers
342 views

Writing a TCP protocol or use HTTP for file transfer?

I want to write a server side application which allows several users to exchange files (not above 3MB) in the following way: user A connects to (server) S. User B connects to S. User C connects S. ...
2
votes
3answers
208 views

Is it possible to get dynamically generated html in asp.net tags using HTTP Modules?

I want to know if it is possible to write to a log/text file dynamically generated HTML in asp.net tags in an .aspx page using HTTP modules. By dynamically generated HTML, I mean the html content ...
9
votes
3answers
269 views

Does the lack of states on HTTP make the protocol unfit for modern applications? [closed]

I changed from PHP to ASP.NET, now I’m working with webforms in a somewhat large company. I given some though and research to back my impressions on ASP.NET webforms and I came to the conclusion that ...
3
votes
2answers
263 views

Trailing slash in RESTful API

I have been having a debate about what to do with a trailing slash in a RESTful API. Lets say I have a resource called dogs and subordinate resources for individual dogs. We can therefore do the ...

1 2 3 4
15 30 50 per page