Questions tagged [rfc]

An RFC is a "Request For Comments": the form of internet standards from the Internet Engineering Task Force (IETF) until they are made standards. And the usual form of reference to those standards.

An RFC is a "Request For Comments": the form of internet standards from the Internet Engineering Taskforce (IETF) until they are made standards. And the usual form of reference to those standards.

Official Site: http://www.ietf.org/rfc.html

590 questions
7
votes
1 answer

RFC 2822 and ISO 8601 date format regex

In JavaScript there is Date.parse() method, which parses a string representing an RFC 2822 or ISO 8601 date (see MDN). Among tons of various sources on the web, what are the most reliable and comprehensive regular expressions able to match those…
jwaliszko
  • 16,942
  • 22
  • 92
  • 158
7
votes
1 answer

Non-standard HTTP response codes: recommended client behaviour

How should a http client (web-browser or other app) process non-standard HTTP response codes like 190, 290, 320, 420, 540. Actually any which is not defined by RFC2616. Refer to a widely used standard or a recommendation like RFC please.
Maksym Polshcha
  • 18,030
  • 8
  • 52
  • 77
7
votes
1 answer

How does NTP Clock Discipline work?

I was reading NTPv4 rfc to better understand the mechanism used by ntp. So, far the basic idea seems to be simple. But I am a bit confused regarding how NTP Clock Discipline works. In NTPv4 it says a hybrid PLL/FLL is used to discipline the clock.…
fadedreamz
  • 1,156
  • 1
  • 10
  • 19
6
votes
5 answers

Does JSON have a +json suffix convention?

XML has a convention whereby non-standard mime types based on XML take on a '+xml' suffix (useful for syntax-highlighting, etc). This is outlined by RFC3023. I've taken a look at RFC4626 but I can't find any mention of something similar for JSON.…
Gili
  • 86,244
  • 97
  • 390
  • 689
6
votes
1 answer

What does it mean to have "RFC-compliant" code?

I have heard the term RFC-compliant code in this talk at minute 1:00. What exactly does it mean?
David
  • 2,926
  • 1
  • 27
  • 61
6
votes
3 answers

Decode % into space using URLDecoder in java?

I have a use-case in which I have to decode the queryParameter of the URI and do the thing(Out of scope of this question). Suppose I have a URI and I have to decode it. Now I know that presently all the %20 will be converted to space and while…
Aman Verma
  • 3,155
  • 7
  • 30
  • 60
6
votes
1 answer

What is the mime type to use for JSON Web Encryption

Looking at RFC 7515 and RFC 7516, I was trying to understand what the proper mime type for the JWE should be. It looks like JWE and JWS share the JOSE header information, and JWS defines its mime type as application/jose. JWE has no explicit media…
Pawel Veselov
  • 3,996
  • 7
  • 44
  • 62
6
votes
2 answers

why http/2 stream id must be ascending?

in RFC 7540 section 5.1.1. (https://www.rfc-editor.org/rfc/rfc7540#section-5.1.1), it specifies as following: The identifier of a newly established stream MUST be numerically greater than all streams that the initiating endpoint has opened or…
Paul Yang
  • 63
  • 4
6
votes
1 answer

Why is the header for HTTP Authentication called "Authorization" and not "Authentication"

As I understand, to "Authenticate" means to prove you are who you claim to be. To be "Authorized" means that you have permission to do the operation you are attempting. Why then, in the RFC for HTTP authentication, do you authenticate (prove you are…
everybody
  • 328
  • 1
  • 9
6
votes
1 answer

How to report an error spotted on a RFC to the IETF

I noted an error in a RFC and I would like to report that error and, I hope, to see an Errata issued. Does anyone know how to officially report an error to the IETF Working Group. Is there a sort of bug/typo tracking at the IETF? I tried to send an…
Spomky-Labs
  • 15,473
  • 5
  • 40
  • 64
6
votes
1 answer

See HttpWebRequest as string before GetResponse without using fiddler

How can i see HttpWebRequest object as string before calling GetResponse method? I want to see raw format of request something like this as in fiddler: Content-Type: multipart/form-data; boundary=---------------------------2600251021003…
Brij
  • 6,086
  • 9
  • 41
  • 69
6
votes
3 answers

Can HTTP headers contain colons in the field value?

I've been working with HTTP headers recently. I am parsing field and value from HTTP header requesrts based on the colon separated mandated by RFC. In python: header_request_line.split(":") However, this messes up if colons are allowed in the value…
jeffrey
  • 3,196
  • 7
  • 26
  • 44
6
votes
1 answer

What is the purpose of the Root Delay field in the NTP protocol?

It's about the Network Time Protocol, specified in RFC 5905. I understand that the Root Delay field of NTPv4 packets (or the Synchronizing Distance field, as it is named in the previous version NTPv3) is a number indicating the estimated roundtrip…
Reflection
  • 1,936
  • 3
  • 21
  • 39
6
votes
1 answer

How to encode space in the fragment identifier in a URL

In the fragment identifier in a URL, should a space be encoded as %20 like in path or as + like in query string?
Desmond Hume
  • 8,037
  • 14
  • 65
  • 112
5
votes
1 answer

what is the exact syntax and semantics of a quoted string in the http1.1 rfc2616

In the rfc2616 which is the HTTP/1.1 standard, a quoted string is defined as follows. quoted-string = ( <"> *(qdtext | quoted-pair ) <"> ) quoted-pair = "\" CHAR CHAR = qdtext =
johannes
  • 7,262
  • 5
  • 38
  • 57