Open-EO / Open-EO/openeo-python-client

Do requests with Accept application/json

Open
#439 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request good first issue low hanging fruit nice-to-have
Dominant language
Python
Stars
217
Forks
56
Avg merge
1d 22h
Merged PRs (30d)
2

Description

most openEO requests expect a JSON response. Python client should set a Accept: application/JSON header accordingly.
This might help network middleware to behave better (e.g. return an JSON error instead of HTML)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Python client’s request-handling entry point and inspect how headers are assembled for openEO requests. Add the requested Accept behavior there, then verify that requests advertise JSON responses and that middleware can return JSON errors instead of HTML.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.