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
9
votes
4 answers

Can any path segments of a URI have a query component?

According to the Section 3.3, Path Component of RFC2396 - Uniform Resource Identifiers, The path may consist of a sequence of path segments separated by a single slash "/" character. Within a path segment, the characters "/", ";", "=", and "?" are…
smartcaveman
  • 41,281
  • 29
  • 127
  • 212
9
votes
2 answers

native websocket api NodeJS for larger messages?

I was following an article about writing a socket server from scratch, and its mostly working with small frames / packages, but when I try to send about 2kb of data, I get this error: . internal/buffer.js:77 throw new ERR_OUT_OF_RANGE(type ||…
9
votes
3 answers

What status code to use when a parameter is missing in the query string?

I have an endpoint that requires a parameter passed via the query string (is a GET verb). What is the appropriated status code to give when this parameter is missing from the request? 400 is the one? or should I respond with a 404? [GET…
Diego Oliveira
  • 432
  • 1
  • 4
  • 8
9
votes
1 answer

Which is the intended bit (not byte) order in internet RFC packet diagrams

I am parsing ICMPv6 datagrams on my home wired network, and can't find an explicit mention of the bit-ordering convention in the specific RFC. Multi-byte fields are network order, but what about bits within a byte? Machines are byte-addressible, but…
init_js
  • 4,143
  • 2
  • 23
  • 53
8
votes
1 answer

SIP CSeq for INFO and INVITE methods

Consider this sample SIP dialog A-->--INVITE-->--B CSeq 101 A--<--TRYING--<--B CSeq 101 A--<--200 OK--<--B CSeq 101 A-->-- ACK -->--B CSeq 101 A-->-- INFO -->--B CSeq 2 A--<-- 500 --<--B CSeq 2 ... While working on a…
Prince Singh
  • 99
  • 1
  • 6
8
votes
2 answers

In JsonSchema, the format value should be set as "full-date" or "date"?

You may use jsonSchemaLint for testing purposes. I have this JsonSchema, which sets format as "full-date". All Draft-6 validators (Json.Net) accepts the schema as valid. { "title": "MyTestSchema", "type": "object", "properties": { …
Pecheneg
  • 768
  • 3
  • 11
  • 27
8
votes
1 answer

Is the ContentType image/* valid

I'm designing an api that returns an image url that gets from a third party service. My problem is that for all the media I'm using what I call a "media object" { "ContentType": "image/jpeg", "href": "http://..." } But the third…
J-Rou
  • 2,216
  • 8
  • 32
  • 39
8
votes
2 answers

What RFC defines arrays transmitted over HTTP?

What RFC defines the passing arrays over HTTP? Most web application platforms allow you to supply an array of arguments over GET or POST. The following URL is an example: http://localhost/?var[1]=one&var[2]=two&var[3]=three RFC1738 defines URLs, …
rook
  • 66,304
  • 38
  • 162
  • 239
8
votes
1 answer

HTTP: Is it acceptable to use the COPY method where the Destination header is not a URI?

Background I'm building an API that allows clients to manipulate geospatial objects. These objects contain a location on the world (in latitude/longitude), and a good bit of metadata. The actual API is rather large, so I present a simplified…
jpk
  • 281
  • 2
  • 11
7
votes
3 answers

Is there a standard algorithm for locale resolution?

In support of software internationalization, many programming languages and platforms support a means of obtaining localized resources to be used in the UI that is shown to the user (e.g. Java's java.util.ResourceBundle class). Often, if resources…
Daniel Trebbien
  • 38,421
  • 18
  • 121
  • 193
7
votes
1 answer

What licence do RFCs have?

I would like to have RFCs on my webpage and I would like to know if it is permitted or not. Especially I'm interested in the license under which are RFCs provided. I'm sorry if this is not really a SO type of question.
MartyIX
  • 27,828
  • 29
  • 136
  • 207
7
votes
2 answers

Seeming contradiction in RFC for HTTP/2 case sensitivity

There is a confusing bit of terminology in the RFC for HTTP/2 that I wish was clearer. Per the RFC https://www.rfc-editor.org/rfc/rfc7540#section-8.1.2 Just as in HTTP/1.x, header field names are strings of ASCII characters that are compared in a…
Daymon Schroeder
  • 682
  • 1
  • 4
  • 23
7
votes
1 answer

HTML tel: link to emergency number

How do I create a HTML link to an emergency number like 911 or 112? The RFC says The phone number can be represented in either global or local notation. All phone numbers MUST use the global form unless they cannot be…
Nils Werner
  • 34,832
  • 7
  • 76
  • 98
7
votes
1 answer

Is there a RegEx to validate a Base32 :: RFC 3548

I want to validate a Base32 code before converting it. Is there a way to do this such as regular expression? I need to follow these standards by RFC 3548
Jacob Finamore
  • 797
  • 5
  • 19
7
votes
1 answer

Is "UTC" a valid timezone name for RFC 1123 specification?

I am working against an API and it requests RFC 1123 dates. If I send requests with a date like Thu, 04 Sep 2014 06:42:22 UTC it gets rejected because of the "UTC" part. If I manipulate the string and make the timezone part "GMT" it works. I also…
ahmet alp balkan
  • 42,679
  • 38
  • 138
  • 214