kiota-java
kiota-java copied to clipboard
ensure 3XX responses without location header do not throw
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