http/request: improve callback handling
http/request: use shorthand syntax for characters