Answer the question
In order to leave comments, you need to log in
Can I use a code snippet from open source software?
Now I am writing my own "REST framework" (if you can call it that), using websockets. While writing the code, there was a problem with parsing dynamic URLs (for example, /api/v1/{user}/{info}). In order to somehow push myself to some solutions, I started looking into the existing REST frameworks for how to work with such situations. As it turned out, parsing through regexps (both when adding and when a specific request like /api/v1/me/name has already arrived). The approach is generally similar, the solution code is minimally different.
Q: Can I borrow/use a code snippet (which handles such url cases) if these libraries are published under Apache 2/BSD 3/MIT licenses? If not,
P.S. I myself plan to publish the project under the MIT license
Answer the question
In order to leave comments, you need to log in
You are free to use, but must strictly comply with the license requirements regarding the use and distribution of this code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question