Skip to content

Added a second argument for head method#286

Open
numice wants to merge 1 commit intorage-rb:mainfrom
numice:head_method_arg
Open

Added a second argument for head method#286
numice wants to merge 1 commit intorage-rb:mainfrom
numice:head_method_arg

Conversation

@numice
Copy link
Copy Markdown
Contributor

@numice numice commented May 7, 2026

Added a second argument for head method in controller/api.rb

@numice
Copy link
Copy Markdown
Contributor Author

numice commented May 7, 2026

I'm not exactly sure if that's right and if some tests are needed. On the first look, I thought that was going to involve many changes. Then I got busy for awhile. Now I took a look again and that's how I understand the task is. Well, it's just one change. But I don't know if anything else is supposed to be added.

@rsamoilov
Copy link
Copy Markdown
Member

Hi @numice

Happy to see you back!

This is a good start. The next step would be to implement a code that will merge options (which is essentially a hash holding response headers the user wants to set) into the response headers that the framework will pass back to Rack.

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.

2 participants