SHRIN
SHRIN

Reputation: 328

HTTP url parameter with empty value is equal with no key?

This 2 Url is same?

I wonder parameter with empty value can be considered like no key(also no value) in http protocol.

Upvotes: 0

Views: 720

Answers (1)

clemens
clemens

Reputation: 17721

No, the urls are not the same. The value for key2 is the empty string. How the server interprets this value has nothing to do with HTTP.

Upvotes: 1

Related Questions