by smurda · 6mo ago · 0 comments
I thought Kebab-case is usually the norm, and I don't think I've seen the "+" in any other URL paths that aren't query strings. Any ideas why they formatted it like this?
> (RFC 1866) specifies that space characters should be encoded as `+` in application/x-www-form-urlencoded content-type key-value pairs (see paragraph 8.2.1, subparagraph 1).
But none of that matters, particularly, because lastfm are consuming the URLs, they know full well what "+" means in a URL submitted to their servers, and also they've been around for decades (well before the whole "use %20 instead") - why on earth would they change up their URL scheme when it's working fine?