RestComm / jain-sip

Disclaimer: This repository is a git-svn mirror of the project found at http://java.net/projects/jsip whose original repository is developed collaboratively by the Advanced Networking Technologies Division at the National Institute of Standards and Technology (NIST) - an agency of the United States Department of Commerce and by a community of individual and enterprise contributors. TeleStax, Inc. will perform some productization work, new features experimentation branches, etc for its TelScale jSIP product that doesn't concern the community from the main repository hence this git repository.
http://www.restcomm.com/
141 stars 151 forks source link

Throw Exception for headers with no params #95

Closed jaimecasero closed 8 years ago

jaimecasero commented 8 years ago

Currently Address header make the assumption header params are allowed. This is not true for some headers, so a means of parameterizing the parsing logic would be beneficial. This way, we could throw a ParsingException if unexpected header params are detected during parsing