Since it's not mentioned anywhere in the grammar, the only way to encode a space is with percent-encoding ( ). In fact, the rfc even states that spaces are delimiters and should be ignored: Sometimes the spaces get url encoded to the sign, and some other times to.