Skip to content

Conversation

@vycius
Copy link
Contributor

@vycius vycius commented Jan 18, 2026

Introduce RemoteNetworkConfigSerializer to centralize shared network settings (timeouts, proxies, and certificates) and ensure consistent validation across persistent Remotes and ad-hoc upload downloads.

  • Exclude sync-specific fields (policy, rate_limit) from shared config
  • Pass validated network kwargs to the downloader in UploadSerializerFieldsMixin
  • Reuse common proxy and certificate validation logic

closes: #7201

Introduce RemoteNetworkConfigSerializer to centralize shared network
settings (timeouts, proxies, and certificates) and ensure consistent
validation across persistent Remotes and ad-hoc upload downloads.

- Exclude sync-specific fields (policy, rate_limit) from shared config
- Pass validated network kwargs to the downloader in UploadSerializerFieldsMixin
- Reuse common proxy and certificate validation logic

Closes: pulp#7201
@vycius vycius force-pushed the 7201-support-timeout-customization-for-sync-file-upload branch from 50e31fd to 26f39f5 Compare January 18, 2026 15:28
@vycius vycius changed the title Add network configuration support for synchronous file uploads WIP: Add network configuration support for synchronous file uploads Jan 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support timeout customization for synchronous File upload API

1 participant