Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add full support HEAD requests #157

Open
RoboSparrow opened this issue Jul 18, 2017 · 1 comment
Open

add full support HEAD requests #157

RoboSparrow opened this issue Jul 18, 2017 · 1 comment
Assignees
Milestone

Comments

@RoboSparrow
Copy link
Member

How much would it take to add HEAD support for the missing 3 xAPI endpoints below? We ill support them in the next release, so if it is too complicated we might just leave it as it is

test:

node test node test -d test/710-http-head

  HEAD /about
    ✓ MUST accept HEAD request

  HEAD /activities/profile
    ✓ MUST accept HEAD request

  HEAD /activities/state
    1) MUST accept HEAD request

  HEAD /activities
    2) MUST accept HEAD request

  HEAD /agents/profile
    ✓ MUST accept HEAD request

  HEAD /agents
    3) MUST accept HEAD request

  HEAD /statements
    ✓ MUST accept HEAD request

  4 passing (4s)
  3 failing

  1) HEAD /activities/state MUST accept HEAD request:
      AssertionError: response status: 200: expected 400 to equal 200

  2) HEAD /activities MUST accept HEAD request:
      AssertionError: response status: 200: expected 404 to equal 200

  3) HEAD /agents MUST accept HEAD request:
      AssertionError: response status: 200: expected 500 to equal 200
@RoboSparrow
Copy link
Member Author

related Brightcookie/lxHive-Internal#142

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

No branches or pull requests

2 participants