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
4
votes
1 answer

Is SOCKS5 bind persistent, or one-time only?

I've been studying RFC 1928 and the description of the BIND operation wasn't clear to me. The setup sequence is described as follows, as I understand it: The client establishes connection to the SOCKS5 server The client performs the CONNECT…
Roman Dmitrienko
  • 3,375
  • 3
  • 37
  • 48
4
votes
1 answer

RFC 1738: URL: Must the host contain a dot?

According to RFC 1738: Uniform Resource Locators (URL): 3.1. Common Internet Scheme Syntax, must the host component contain a dot, e.g., "example.com"? I.e., may it be composed of only one domain label?
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
4
votes
1 answer

Can I use both of Basic and Bearer in Authorization header?

I implemented JWT token for API Authorization. Every request that required authorization is sent with JWT token in Authorization header like this: Authorization: Bearer . Everything is clear for me about JWT token except login request. I just…
Boram Kim
  • 55
  • 6
4
votes
1 answer

HTTP server timeout. When should it be sent

I’m writing small http server and try to understand timeout issues. RFC7230 don’t give an answer for the question what are conditions that forces server to send timeout (408 Request timeout). Should it be sent when client sends request too long? Or…
Yura
  • 969
  • 14
  • 33
4
votes
1 answer

Is there any use cases where other DNS classes are useful apart INTERNET?

IN(ternet) class is the default one. I know another useful one, CHAOS : censurfridns : % dig @91.239.100.100 version.bind TXT CHAOS +short "9.11.4-P2+dampening" Are the other ones have a use case ? CS aka CSNET class (Obsolete) HS aka Hesiod [Dyer…
4
votes
0 answers

What is the purpose of the websocket close handshake?

Why does the RFC require peers to send a close frame and then wait for a close frame from the peer? Why not just send the frame and then close the TCP connection?
nhooyr
  • 1,104
  • 1
  • 13
  • 31
4
votes
1 answer

How to implement RFC 3393 (Ipdv packet delay varation) in C?

I am building an Ethernet Application in which i will be sending packets from one side and receiving it on the other side. I want to calculate delay in packets at the receiver side as in RFC 3393. So I have to put a timestamps in the packet at the…
sagar
4
votes
2 answers

HTTP/2 h2 with no ALPN support in server

After reading both HTTP/2 RFC (#7540) and TLS-ALPN RFC (#7301), I'm still unable to figure out the expected behavior when ALPN is lacking in one end. Assuming I have a client that uses HTTP/2 "h2" (over TLS) that talks to a server that support…
Cowabunga
  • 306
  • 2
  • 12
4
votes
0 answers

Domain names that start with a number

I'm writing a regex for validating domain names. I'm looking at section 2.3.1 (starts on the bottom of page 7) and in the section it states: They must start with a letter, end with a letter or digit, and have as interior characters only letters,…
wheeler
  • 2,823
  • 3
  • 27
  • 43
4
votes
1 answer

What's the correct or proper way to read RFCs on HTTP?

From Wikipedia: "The first definition of HTTP/1.1, the version of HTTP in common use, occurred in RFC 2068 in 1997, although this was obsoleted by RFC 2616 in 1999 and then again by RFC 7230 and family in 2014." "The HTTP/2 specification was…
user1206899
  • 1,564
  • 1
  • 11
  • 15
4
votes
2 answers

how do you comment on RFC?

is there general guideline about writing comment on RFC?
Mohamed
  • 3,420
  • 7
  • 28
  • 31
4
votes
1 answer

Is there a "Do Not Annoy" me with the Cookie Law HTTP header?

The DNT (Do Not Track) HTTP header allows a browser to let a webserver know that the user does not wish to be tracked. Is there an equivalent DNA (Do Not Annoy me with the cookie law warning) HTTP header? Since all websites nowadays display a…
user1202136
  • 11,171
  • 4
  • 41
  • 62
4
votes
1 answer

Removing objects from an array using PATCH with RFC 6902 in a REST service. How do you know you are deleting the correct element?

The remove operation in RFC 6902 allows you to delete an element from an array in a JSON object, but also changes the array index of all the other elements. If you retrieve a record using GET, and then delete an element from an array using PATCH,…
Chris B
  • 737
  • 2
  • 8
  • 21
4
votes
1 answer

HTTP Spec: PUT without data transfer, since hash of data is known to server

Does the HTTP/WebDav spec allow this client-server dialog? client: I want to PUT data to /user1/foo.mkv which has this hash sum: HASH server: OK, PUT was successful, you don't need to send the data since I already know the data with this hash…
guettli
  • 25,042
  • 81
  • 346
  • 663
4
votes
0 answers

Can the HTTP version of response differ from the HTTP version of the request

If I use curl to get a websites data it sends this packet header (with an empty body): GET / HTTP/1.1 User-Agent: curl/7.38.0 Host: someurl.com Accept: */* HTTP version 1.1 is used here. My question: could it happen that a server answers with a 200…
René Martin
  • 518
  • 4
  • 16