fun HttpHeaders.accept(value: String) { | |
this.put(HttpHeaders.ACCEPT, listOf(value)) | |
} | |
fun HttpHeaders.contentType(value: String) { | |
this.put(HttpHeaders.CONTENT_TYPE, listOf(value)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment