Hiya,
The static HTTP version constants web::WebClient.ver10 and web::WebClient.ver11 are private... any reason why they be can't be public?
private
public
Well sort of just figured if anyone needed to check they could do this:
req.version.minor == 1
Hmm... okay. Done.
Actually, I was (also) gonna use ver10 and ver11 in tests to set web::WebClient.reqVersion.
ver10
ver11
web::WebClient.reqVersion
Login or Signup to reply.
SlimerDude Sat 13 Jul 2013
Hiya,
The static HTTP version constants web::WebClient.ver10 and web::WebClient.ver11 are
private
... any reason why they be can't bepublic
?brian Sat 13 Jul 2013
Well sort of just figured if anyone needed to check they could do this:
SlimerDude Sat 13 Jul 2013
Hmm... okay. Done.
SlimerDude Sat 13 Jul 2013
Actually, I was (also) gonna use
ver10
andver11
in tests to setweb::WebClient.reqVersion
.