https://kotlinlang.org logo
#ktor
Title
# ktor
m

mbonnin

01/02/2020, 9:49 PM
When installing
Logging
(https://ktor.io/clients/http-client/features/logging.html) alongside other features that can change headers in a client, does the order matter ? Can I make sure to always get what's transmitted over the wire ?
l

Luke Rohde

01/02/2020, 11:22 PM
unless you do something weird with custom phases in the request or response pipelines, you should be fine
m

mbonnin

01/03/2020, 12:12 AM
What is considered 'weird' ? I do have a custom feature for oauth that I'm trying to debug and changes the http headers as well as retrying in case of 401.