Marak / Marak/webservice.js

add Content-Type header routing

Open
#5 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
250
Forks
24
PR merge metrics
No merged PRs in 30d

Description

add content-type header based routing.

i.e. if a request comes in as "application/json", automatically return JSON (instead of having to specify the .json extension)

make this setting over-ridable (perhaps in a project config)

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

No files, tests, or entry points are named. Start by locating request routing and project configuration, then determine how Content-Type should select a response and how an override should be represented. Done means documented behavior and tests covering automatic JSON routing and the override.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.