Move decoding to start of request