kiota-java icon indicating copy to clipboard operation
kiota-java copied to clipboard

ensure 3XX responses without location header do not throw

Open baywet opened this issue 1 year ago • 0 comments

follow up to https://github.com/microsoft/kiota/pull/4367 and https://github.com/microsoft/kiota/issues/4190

Implement a unit test with a 304 response, no location header, check the request adapter returns null and doesn't throw. Most likely this line will need to be adapted. https://github.com/microsoft/kiota-java/blob/59a86b031985c34a8f9bff88c9af2ce8eb55c354/components/http/okHttp/src/main/java/com/microsoft/kiota/http/OkHttpRequestAdapter.java#L611

baywet avatar Mar 21 '24 12:03 baywet