Fix possioble exception in requests if get 304 response