Skip to content

Conversation

@bcameron1231
Copy link
Collaborator

@bcameron1231 bcameron1231 commented Jun 30, 2025

Fixing return on response.headers to return the Header typed object. Header type is not enumerable so the spread operator doesn't work.

Update to addCopyContentTypeFromHub to use Header type methods to retrieve location.

Category

  • Bug fix?

What's in this Pull Request?

Update to Parsers to adjust the initial conditional for content-length on JsonHeaderParser.

Update to addCopyContentTypeFromHub to use Headers type methods to retrieve location instead of trying to get values from an object property.

Fixing return on response.headers to return the Header typed object. Header type is not enumerable so the spread operator doesn't work.

Update to addCopyContentTypeFromHub to use Header type methods to retrieve location.
@bcameron1231 bcameron1231 added this to the 4.15.0 milestone Jun 30, 2025
@juliemturner juliemturner merged commit 5c737d8 into pnp:version-4 Jul 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants