Evert Pot

Results 252 comments of Evert Pot

Given: > If the contentType property is missing, is set to empty, or contains an unrecognized value, the client SHOULD act is if the contentType is set to "application/json". And:...

Yeah those are both excerpts =) You could try application/x-www-form-urlencoded instead, as an empty set there is a 0-byte string!

I don't really know what Prism is, so not sure if that's normal :P is there anything else I could potentially do here?

Personally I think if a `Content-Type` is set to `application/json` and no body is set, that _should_ be treated as invalid.

Sorry, for the confusion, it was in response to @mamund : > I suspect it's a rule in prism that blindly attempts to parse a JSON object body when the...

I'd strongly suggest coding 1 specific behavior for this, otherwise it will never be possible to create a generic client that works with generic servers without out-of-band configuration. So if...

It's just a list of subscriptions. Although a server-side cache might be cool =) I don't think a spec exists. I believe I just reverse-engineered it.

Pretty wild that people are still finding bugs, but LGTM!

Why do you need it? It's almost always a mistake.

It's much better to map those to `<` ad `>`. If your e-shop platform requires it, they use a broken xml parser which would be very surprising!