Quantcast
Channel: User Mark Nottingham - Stack Overflow
Browsing all 42 articles
Browse latest View live

Comment by Mark Nottingham on MIME Type for numerical arrays?

I read your question as wanting to put the data in the headers, not the body. If you want to put the data in the body, have a look at JSON, BSON, Thrift, ProtoBuffers, etc. etc. etc.

View Article



Comment by Mark Nottingham on Difference between Content-Range and Range...

Content-Range isn't legal in requests.

View Article

Comment by Mark Nottingham on "no-cache"​vs "max-age=0, must-revalidate,...

Semantically; not much. It's shorter, though.

View Article

Comment by Mark Nottingham on What HTTP response headers are required

Strictly speaking, none of them is required; if you look through RFC2616 (and httpbis docs) you'll see that Date can be omitted if the origin server doesn't have a clock; content-type can be omitted...

View Article

Comment by Mark Nottingham on HTML Placeholder browser compatibility

Please, for the love of all that is sane and good, do not use w3schools. For current browser support, caniuse is a good resource: caniuse.com/input-placeholder

View Article


Comment by Mark Nottingham on Under what conditions are HTTP request headers...

Unrelated, but using a header to version your API isn't good practice. mnot.net/blog/2012/07/11/header_versioning

View Article

Comment by Mark Nottingham on http: minimum content-encoding support for...

Strictly by the book, if you don't support anything, you ought to send "identity", yes. See: tools.ietf.org/html/…

View Article

Comment by Mark Nottingham on Varnish and ESI, how is the performance?

cernio - what version of varnish?

View Article


Comment by Mark Nottingham on Apache: Get rid of Keep-Alive entry in the...

FWIW - issues.apache.org/bugzilla/show_bug.cgi?id=57483

View Article


Comment by Mark Nottingham on HTTP Range header

The most current ref is RFC7233 -- httpwg.github.io/specs/rfc7233.html

View Article

Comment by Mark Nottingham on Should I use HTTP 4xx to indicate HTML form...

Just FYI - RFC2616 has been replaced by RFC7230 (and friends), so it's best to refer to them. See <httpwg.org/specs>. Also, while Twitter did use 420 originally, they moved to the standard, 429,...

View Article

Comment by Mark Nottingham on In HTTP/2, What's the relationship between...

Looks about right.

View Article

Comment by Mark Nottingham on How is an HTTP multipart "Content-length"...

This shows the behaviour of one implementation, not necessarily the proper behaviour.

View Article


Comment by Mark Nottingham on ASP:NET 411 - Content Length Required error

Matthias, could you please get in touch with me (email: mnot@mnot.net, or @mnot on twitter)? I'm researching an interoperability issue that seems to be lined to the firewall you mention. Thanks!

View Article

Answer by Mark Nottingham for Implementing an HTTP proxy

You might also find the work of the HTTPbis group in the IETF helpful; we're re-writing the specs to make them more clear and easier to implement.Seehttp://trac.tools.ietf.org/wg/httpbis/trac/wikifor...

View Article


Answer by Mark Nottingham for Reading http packets under linux

Try htracr - https://github.com/mnot/htracr/BTW, RFC2616 will soon be superceded; seehttp://trac.tools.ietf.org/wg/httpbis/trac/wiki

View Article

Answer by Mark Nottingham for Choose appropriate HTTP status codes in...

There's no such thing as "sub-codes" in HTTP (Microsoft IIS is clearly violating the spec, and should be flogged).If there's an appropriate status code, use it; don't say "this status code means that...

View Article


Answer by Mark Nottingham for Doesn't Vary: * simply make HTTP responses...

That's one effect it has, but it also tells the client that the response was selected based upon things that couldn't be expressed in a Vary header.

View Article

Answer by Mark Nottingham for HTTP OPTIONS - Not Cacheable?

It's not cacheable, period. Sorry.

View Article

Answer by Mark Nottingham for Is using custom json content-types a good idea

It's allowed, definitely. Whether it's a good idea is another story.My rule of thumb is that it's a primary data format that's useful across a lot of things, needs to be identified on its own, and you...

View Article
Browsing all 42 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>