You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm new to scala and cask, so please excuse if I'm missing something obvious. I tried the example from the "simple web and api servers" chapter in the Hands on Scala book. It has a "@cask.get" route, and GET requests work fine. HEAD, however, returns 405 Method Not Allowed, and there doesn't seem to be a "@cask.head" route ("type head is not a member of cask").
Can you explain how HEAD is supposed to work with cask?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm new to scala and cask, so please excuse if I'm missing something obvious. I tried the example from the "simple web and api servers" chapter in the Hands on Scala book. It has a "@cask.get" route, and GET requests work fine. HEAD, however, returns 405 Method Not Allowed, and there doesn't seem to be a "@cask.head" route ("type head is not a member of cask").
Can you explain how HEAD is supposed to work with cask?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions