Yes, it's copy & paste and updated to the language definition http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4.
I double check it and it seems ok to me.