StackedCrooked
StackedCrooked

Reputation: 35515

Can a well-formed HTTP Request contain "NULL"?

My OCSP client is sending me the following HTTP request:

POST <NULL> HTTP/1.0
  Content-Type: application/ocsp-request
  Content-Length: 120

The NULL is not mentioned in the RFC for HTTP 1.0. Does that make this a malformed request?

Upvotes: 1

Views: 764

Answers (1)

tloflin
tloflin

Reputation: 4050

Section 5.1.2 of your RFC says:

  1. The Request-URI is a Uniform Resource Identifier (Section 3.2)

  2. Note that the absolute path cannot be empty

So according to it, <NULL> is not a valid Request URI.

Upvotes: 3

Related Questions