Project

General

Profile

Bug #808

no response from CN REST if wrong Accept-Type by requester

Added by Rob Nahf about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Robert Waltz
Category:
d1_cn_service
Target version:
Start date:
2010-10-07
Due date:
% Done:

100%

Milestone:
CCI-0.5
Product Version:
*
Story Points:
Sprint:

Description

When performing a call to resolve, if the accept-types declaration is not exactly what returnable (text/xml or application/xml), the call fails with no return. Should probably check other cn CRUD requests, too. A good starting point is the request mappings in proxy.ObjectController.

History

#1 Updated by Rob Nahf about 14 years ago

  • Status changed from New to In Progress

#2 Updated by Dave Vieglais about 14 years ago

Perhaps use "@DefaultHandler" annotation?

#3 Updated by Matthew Jones about 14 years ago

Also, if there is no Accept header at all, it doesn't return anything. A good solution would be to set text/xml as a default Accept header if one isn't otherwise provided by the calling client.

#4 Updated by Dave Vieglais about 14 years ago

  • Tracker changed from Bug to Task
  • Target version deleted (CCI-0.5)
  • Start date set to 2010-10-07
  • Parent task set to #958
  • Milestone set to CCI-0.5

#5 Updated by Dave Vieglais about 14 years ago

  • Tracker changed from Bug to Task

#6 Updated by Robert Waltz about 14 years ago

  • Target version set to Sprint-2010.40

#7 Updated by Robert Waltz about 14 years ago

  • Tracker changed from Task to Bug

#8 Updated by Robert Waltz about 14 years ago

  • Tracker changed from Task to Bug
  • Target version set to Sprint-2010.40

#9 Updated by Robert Waltz about 14 years ago

  • Target version set to Sprint-2010.41

#10 Updated by Robert Waltz about 14 years ago

  • Parent task deleted (#958)

#11 Updated by Robert Waltz about 14 years ago

  • Target version set to Sprint-2010.40

#12 Updated by Robert Waltz about 14 years ago

  • Tracker changed from Task to Bug

#13 Updated by Rob Nahf about 14 years ago

  • Parent task set to #909

#14 Updated by Robert Waltz about 14 years ago

  • Tracker changed from Task to Bug
  • Subject changed from no response from CN resolve if wrong Accept-Type by requester to no response from CN REST if wrong Accept-Type by requester
  • Parent task deleted (#909)

#15 Updated by Robert Waltz about 14 years ago

  • Target version changed from Sprint-2010.41 to Sprint-2010.42
  • Position set to 1
  • Position changed from 1 to 53

#16 Updated by Dave Vieglais about 14 years ago

  • Target version changed from Sprint-2010.42 to Sprint-2010.43
  • Position deleted (48)
  • Position set to 2

#17 Updated by Robert Waltz about 14 years ago

  • Status changed from In Progress to Closed
  • Position deleted (13)
  • Position set to 8

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)