We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a96a4d commit 9186109Copy full SHA for 9186109
typedrest/src/main/kotlin/net/typedrest/endpoints/EntryEndpoint.kt
@@ -66,7 +66,7 @@ open class EntryEndpoint : AbstractEndpoint {
66
linkExtractor: LinkExtractor = AggregateLinkExtractor(HeaderLinkExtractor(), HalLinkExtractor())
67
) : super(
68
uri,
69
- OkHttpClient().withBasicAuth(credentials ?: uri.extractCredentials()),
+ OkHttpClient().withAccept(serializer.supportedMediaTypes).withBasicAuth(credentials ?: uri.extractCredentials()),
70
listOf(serializer),
71
errorHandler,
72
linkExtractor
0 commit comments