sebbASF opened a new issue #192:
URL: https://github.com/apache/incubator-ponymail-foal/issues/192


   The API sometimes treats the id query parameter as a permalink and sometimes 
as a message-id.
   This leads to some inefficient and awkward code.
   
   In the case of a message-id, the endpoints email.py, source.py and thread.py 
all look for the id and then a match against a permalink. These two searches 
are almost certainly going to fail - and if they do not fail, it almost 
certainly means the wrong message has been located.
   
   It would be more efficient and simpler if the API did not mix up the two 
different identifiers.
   
   The caller should know which identifier they are using, and specify it 
accordingly.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@ponymail.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to