NetTalk Central

Author Topic: HTTP OPTIONS method bug  (Read 2412 times)

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
HTTP OPTIONS method bug
« on: November 01, 2013, 02:40:40 PM »
It is 272 line in NetWeb.clw file
I found small bug in NetWeb.clw that cause RequestMethodType unusable


        space1 = instring(' ',self._ConnectionDataQueue.Data,1,1)
        if space1 > 0 and space1 < 8                       ************** This is 272 line ************
          ! Check binData
          self._ConnectionDataQueue.RequestMethodType = self.SetRequestMethodType(upper(self._ConnectionDataQueue.Data[1 :    space1]))

String in self._ConnectionDataQueue.Data look for ex. OPTIONS /Request where ' ' (blank) is in 8th position so it coud not be true for OPTIONS.

Best regards,

Djordje Radovanovic

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: HTTP OPTIONS method bug
« Reply #1 on: November 03, 2013, 09:43:05 PM »
thanks - fixed for next build.