Questions tagged [rfc2616]

An RFC entitled "Hypertext Transfer Protocol -- HTTP/1.1"

See for more details on RFC

RFC 2616 was released in june 1999 and supersedes RFC 2068.

Resources:

71 questions
0
votes
4 answers

What HTTP error codes should be used for indicating an internal error?

I have developed a REST application and one of my application's case is that: User makes an operation at server side. Everything goes well server accepts data correctly however some error occurs as like communicating with database. I don't want to…
kamaci
  • 72,915
  • 69
  • 228
  • 366
0
votes
0 answers

Why is it that Apache behaves differently on 304 responses when requestiong from browser against requesting from Node.js?

I created this repository to investigate why my custom headers were not being sent to the client when the response code is 304. I had previously read answers to this question, which explains why headers are not sent on a 304 response. However, I…
Xavier Mukodi
  • 166
  • 1
  • 10
0
votes
1 answer

What is the meaning of "contain an entity which describes the status of the request and refers to the new resource" in the HTTP/1.1 spec?

Chapter 9.5 POST of the HTTP/1.1 spec includes the sentence: If a resource has been created on the origin server, the response SHOULD be 201 (Created) and contain an entity which describes the status of the request and refers to the new resource,…
M. Koch
  • 525
  • 4
  • 20
0
votes
1 answer

Return 405 or 404 for OPTIONS http requests

Example: We provide a URL http://.../foo/download.csv web client (MS office) opens above URL and tries to access (for reasons I really don't know) http://.../foo/ with an http OPTIONS request. Up to now or app returns 404 since the above URL does…
guettli
  • 25,042
  • 81
  • 346
  • 663
0
votes
0 answers

Play Framework: Setting Location header eliminates response body for HTTP 303

I'm trying to send clients a 303 See Other with Location header and a response body detailing why they're being redirected (which seems allowed per RFC 2616) using Play 2.3.10: package example; import play.mvc.Controller; import…
Jacob Wallace
  • 887
  • 2
  • 12
  • 24
0
votes
0 answers

Browser caheing of url redirects

Does browsers caches target locations of request redirects? eg. http://example.org/assets?ts=3248723642873 [302] -> http://example.org/css/test.css -> download http://example.org/assets?ts=766773 [302] -> http://example.org/css/test.css …
user993954
  • 423
  • 4
  • 8
0
votes
1 answer

206 Partial Request - Single-range request with overlapping bytes

I am implementing a module that supports 206 partial requests. After reading RFC rfc2616, i noticed that when receiving a multi-range request, overlapping ranges such as: "a-b, a-d" are not allowed. My question is: What happens with single-range…
user1782427
  • 770
  • 1
  • 8
  • 19
0
votes
1 answer

Proxy / gateway behaviour if HTTP response data exceeds content length

How should proxies / gateways behave when http servers send HTTP response where the data size exceeds content-length? Dropping it as a RFC non-compliance is one way to go but looks like there are quite a few implementations/deployments with this…
0
votes
2 answers

Does disallowing some concurrent GET requests violate RFC 2616 (safety/idempotency)?

I'm currently debating the question on wether disallowing concurrent GET requests on a given resource constitutes a violation of RFC 2616 (especially the idempotency and safety properties required for the GET method, §9.1). For instance; if my…
Remi
  • 1
0
votes
1 answer

Reading http packets under linux

I'm reading RFC 2616 and I would like to see all http packets. Which tool is the best for this?
Sławosz
  • 11,187
  • 15
  • 73
  • 106
-1
votes
1 answer

Why is the System.Web.Mvc.HttpVerbs class missing TRACE, CONNECT & OPTIONS?

The RFC 2616 HTTP/1.1 definition states that the following common HTTP methods exist: GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT But the System.Web.Mvc.HttpVerbs enum is missing TRACE, OPTIONS & CONNECT. I've got an action filter which…
RPM1984
  • 72,246
  • 58
  • 225
  • 350
1 2 3 4
5