Skip to content

GH-3258: Support for bzip2 encoding in HTTP uploads. #3266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Aklakan
Copy link
Contributor

@Aklakan Aklakan commented Jun 18, 2025

GitHub issue resolved #3258

  • Draft because so far this PR only addresses uploading a remote file via HTTP.
  • I still need to investigate whether upload of a local bz2 file in fuseki needs extra work.

Pull request Description: Proposal to adds bzip2 as a recognized encoding to HttpLib.

Note: The Web server from which one attempts to upload a file needs to be configured to serve content type and encoding separately:

curl -I http://myserver/file.nt.bz2

Content-Type: application/n-triples
Content-Encoding: bzip2

For example, by default, the Apache Web server would serve .bz2 files as Content-Type: application/x-bzip2. This way a client wouldn't know what actual content is being encoded.


  • Tests are included.
  • Documentation change and updates are provided for the Apache Jena website
  • Commits have been squashed to remove intermediate development commit messages.
  • Key commit messages start with the issue number (GH-xxxx)

By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.


See the Apache Jena "Contributing" guide.

@Aklakan Aklakan marked this pull request as draft June 18, 2025 20:23
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.

Support for uploading compressed data with GSP and SPARQL
1 participant