Skip to content

[Content Bug] Response Week 3 step 3 - usage of const, usage of Header #453

@lechnerc77

Description

@lechnerc77

Codename Blob + 3RR0R Handling

Identify Steps:

  • Step 3

Week:

week 3

Describe the Issue

  • You should use const for the password` variable
  • Link: I think that the setup passing the filename via the header is not a usual procedure. I would expect the information in the body. The header is usually used for passing additional (meta-)data about the request and the response. For details see HTTP headers.

Proposed Fix

  • Usage of const for the password` variable
  • Passing of parameter via request body for the filename, not via a custom field of the header

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpinned

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions